body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../pic/cat.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    padding: 10px 50px;
    border-bottom: 1px solid #ddd;
}

.navbar-left h1 {
    margin: 0;
}

.navbar-center {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.navbar-center a {
    margin: 0 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.navbar-center a:hover {
    color: #000;
}

.navbar-right {
    display: flex;
    justify-content: flex-end;
}

.navbar-right button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.navbar-right button:hover {
    background-color: #555;
}

.category-detail-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.category-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.category-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.category-name {
    font-weight: bold;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.article-list {
    width: 100%;
    max-width: 800px;
}

.article {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.article h2 {
    margin-top: 0;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #555;
}
